Optimal. Leaf size=82 \[ \frac{\operatorname{Subst}\left (\text{Unintegrable}\left (\frac{1}{(a+b x) (f+g x) \left (B \log \left (e \left (\frac{a+b x}{c+d x}\right )^n\right )+A\right )^2},x\right ),e \left (\frac{a+b x}{c+d x}\right )^n,e (a+b x)^n (c+d x)^{-n}\right )}{h} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.459884, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int \frac{1}{\left (a f h+b g h x^2+h (b f x+a g x)\right ) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
Rubi steps
\begin{align*} \int \frac{1}{\left (a f h+b g h x^2+h (b f x+a g x)\right ) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx &=\int \frac{1}{h (a+b x) (f+g x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx\\ &=\frac{\int \frac{1}{(a+b x) (f+g x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx}{h}\\ &=\frac{\int \left (\frac{b}{(b f-a g) (a+b x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2}-\frac{g}{(b f-a g) (f+g x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2}\right ) \, dx}{h}\\ &=\frac{b \int \frac{1}{(a+b x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx}{(b f-a g) h}-\frac{g \int \frac{1}{(f+g x) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx}{(b f-a g) h}\\ \end{align*}
Mathematica [A] time = 0.268337, size = 0, normalized size = 0. \[ \int \frac{1}{\left (a f h+b g h x^2+h (b f x+a g x)\right ) \left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 4.622, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{afh+bgh{x}^{2}+h \left ( agx+bxf \right ) } \left ( A+B\ln \left ({\frac{e \left ( bx+a \right ) ^{n}}{ \left ( dx+c \right ) ^{n}}} \right ) \right ) ^{-2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0., size = 0, normalized size = 0. \begin{align*}{\left (d f - c g\right )} \int \frac{1}{{\left (b c f^{2} h n - a d f^{2} h n\right )} A B +{\left (b c f^{2} h n \log \left (e\right ) - a d f^{2} h n \log \left (e\right )\right )} B^{2} +{\left ({\left (b c g^{2} h n - a d g^{2} h n\right )} A B +{\left (b c g^{2} h n \log \left (e\right ) - a d g^{2} h n \log \left (e\right )\right )} B^{2}\right )} x^{2} + 2 \,{\left ({\left (b c f g h n - a d f g h n\right )} A B +{\left (b c f g h n \log \left (e\right ) - a d f g h n \log \left (e\right )\right )} B^{2}\right )} x +{\left ({\left (b c g^{2} h n - a d g^{2} h n\right )} B^{2} x^{2} + 2 \,{\left (b c f g h n - a d f g h n\right )} B^{2} x +{\left (b c f^{2} h n - a d f^{2} h n\right )} B^{2}\right )} \log \left ({\left (b x + a\right )}^{n}\right ) -{\left ({\left (b c g^{2} h n - a d g^{2} h n\right )} B^{2} x^{2} + 2 \,{\left (b c f g h n - a d f g h n\right )} B^{2} x +{\left (b c f^{2} h n - a d f^{2} h n\right )} B^{2}\right )} \log \left ({\left (d x + c\right )}^{n}\right )}\,{d x} - \frac{d x + c}{{\left (b c f h n - a d f h n\right )} A B +{\left (b c f h n \log \left (e\right ) - a d f h n \log \left (e\right )\right )} B^{2} +{\left ({\left (b c g h n - a d g h n\right )} A B +{\left (b c g h n \log \left (e\right ) - a d g h n \log \left (e\right )\right )} B^{2}\right )} x +{\left ({\left (b c g h n - a d g h n\right )} B^{2} x +{\left (b c f h n - a d f h n\right )} B^{2}\right )} \log \left ({\left (b x + a\right )}^{n}\right ) -{\left ({\left (b c g h n - a d g h n\right )} B^{2} x +{\left (b c f h n - a d f h n\right )} B^{2}\right )} \log \left ({\left (d x + c\right )}^{n}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{1}{A^{2} b g h x^{2} + A^{2} a f h +{\left (A^{2} b f + A^{2} a g\right )} h x +{\left (B^{2} b g h x^{2} + B^{2} a f h +{\left (B^{2} b f + B^{2} a g\right )} h x\right )} \log \left (\frac{{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right )^{2} + 2 \,{\left (A B b g h x^{2} + A B a f h +{\left (A B b f + A B a g\right )} h x\right )} \log \left (\frac{{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (b g h x^{2} + a f h +{\left (b f x + a g x\right )} h\right )}{\left (B \log \left (\frac{{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right ) + A\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]